package com.smile.web.home;

import com.smile.config.entity.OperateLog;
import com.smile.config.entity.repository.OperateLogReposotory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class OperateLogServiceImpl implements OperateLogService {

    @Autowired
    private OperateLogReposotory operateLogReposotory;

    @Override
    @Transactional
    public void saveOperateLog(String operateLog) {
      OperateLog operate = new OperateLog();
      operateLogReposotory.save(operate);

    }
}
